<?php
include_once "../common/header.php";
?>
<script>
function showlegend(){
    div = document.getElementById("legend");
    div.style.display="inline";
}
function hidelegend(){
    div = document.getElementById("legend");
    div.style.display="none";
}

</script>
<h2>CSC 360 - Quiz 1</h2>
<h3>Legend</h3>
<a href="index.php">Show legend</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="#" onclick="hidelegend()">Hide legend</a><br />
<center>
<div id="legend" style="width:95%; text-align:left; padding:5px 10px; border: 1px solid #000;">
	<table width="100%" valign="middle">
		<tr>
			<td width="125px"><img src="legend.jpg" height="120px" width="120px"/></td>
			<td>Student name<br/>
				Student number<br />
				Start time<br /></td>
			<td>IP address<br />
				Location</td>
			<td>Identification<br />confidence</td>
			<td><a href="../ta_observe/index.php">Observe<br />student</a></td>
			<td><a href="../ta_notes/index.php">Add<br/>notes</a></td>
			<td style="text-align:center;"><a href="../ta_chat/index.php"><img src="orange.jpg"/><br />Assistance requested</a></td>
		</tr>
	</table>
</div>
</center>
<br /><br />
<h3>Active students</h3>
<center>
<div style="width:95%; text-align:left; padding:5px 10px; border: 1px solid #000;">
	<table width="100%" valign="middle">
		<tr>
			<td width="125px"><img src="craig.jpg" height="120px" width="120px"/></td>
			<td>Craig Richardson<br/>
				V00111111<br />
				July 26 16:03<br /></td>
			<td>142.104.211.37<br />
				Victoria, BC</td>
			<td><strong><span style="color:green;">75%</span></strong></td>
			<td><a href="../ta_observe/index.php">Observe</a></td>
			<td><a href="../ta_notes/index.php">Notes</a></td>
			<td style="text-align:center;"><a href="../ta_chat/index.php"><img src="orange.jpg"/><br />Assistance requested</a></td>
		</tr>
		<tr>
			<td width="125px"><img src="tammy.jpg" height="120px" width="120px"/></td>
			<td>Tammy Watson<br/>
				V00222222<br />
				July 26 16:17<br /></td>
			<td>24.68.32.123<br />
				Duncan, BC</td>
			<td><strong><span style="color:#ecd431;">55%</span></strong></td>
			<td><a href="../ta_observe/index.php">Observe</a></td>
			<td><a href="../ta_notes/index.php">Notes</a></td>
			<td style="text-align:center;"><img src="grey.jpg"/><br />Assistance not required</td>
		</tr>
		<tr>
			<td width="125px"><img src="logan.jpg" height="120px" width="120px"/></td>
			<td>Logan Matthews<br/>
				V00333333<br />
				July 26 18:00<br /></td>
			<td>71.4.122.89<br />
				Vancouver, BC</td>
			<td><strong><span style="color:red;">15%</span></strong></td>
			<td><a href="../ta_observe/index.php">Observe</a></td>
			<td><a href="../ta_notes/index.php">Notes</a></td>
			<td style="text-align:center;"><img src="grey.jpg"/><br />Assistance not required</td>
		</tr>
                <tr>
                        <td width="125px"><img src="craig.jpg" height="120px" width="120px"/></td>
                        <td>Tom Johnson<br/>
                                V00444444<br />
                                July 26 14:53:03<br /></td>
                        <td>142.104.211.38<br />
                                Victoria, BC</td>
                        <td><strong><span style="color:green;">65%</span></strong></td>
                        <td><a href="../ta_observe/index.php">Observe</a></td>
                        <td><a href="../ta_notes/index.php">Notes</a></td>
                        <td style="text-align:center;"><img src="grey.jpg"/><br />Assistance not required</a></td>
                </tr>
                <tr>
                        <td width="125px"><img src="tammy.jpg" height="120px" width="120px"/></td>
                        <td>Suzy Smith<br/>
                                V0055555<br />
                                July 26 16:17<br /></td>
                        <td>24.68.58.43<br />
                                Nanaimo, BC</td>
                        <td><strong><span style="color:#ecd431;">51%</span></strong></td>
                        <td><a href="../ta_observe/index.php">Observe</a></td>
                        <td><a href="../ta_notes/index.php">Notes</a></td>
                        <td style="text-align:center;"><img src="grey.jpg"/><br />Assistance not required</td>
                </tr>
                <tr>
                        <td width="125px"><img src="logan.jpg" height="120px" width="120px"/></td>
                        <td>Bill George<br/>
                                V00666666<br />
                                July 26 16:30<br /></td>
                        <td>71.4.133.75<br />
                                Vancouver, BC</td>
                        <td><strong><span style="color:red;">5%</span></strong></td>
                        <td><a href="../ta_observe/index.php">Observe</a></td>
                        <td><a href="../ta_notes/index.php">Notes</a></td>
                        <td style="text-align:center;"><img src="grey.jpg"/><br />Assistance not required</td>
                </tr>

	</table>
</div>
</center>
<br /><br />

<center>
<p>To submit your observations during this assessment and stop observing these students, click the "Submit notes and close quiz" button below.</p>
<form onsubmit="return confirm('Are you sure you wish to submit your notes to the professor and exit this assessment?');" action="../ta_course/index.php">
	<input type="submit" class="fancybutton" value="Submit notes and close quiz" />
</form>
</center>

<?php
include_once "leftcol.php";
include_once "rightcol.php";
include_once "../common/footer.php";
?>
